home *** CD-ROM | disk | FTP | other *** search
/ C++ für Kids / C++ for kids.iso / Buch / FStein2.cpp < prev    next >
C/C++ Source or Header  |  1999-01-15  |  684b  |  23 lines

  1. //---------------------------------------------------------------------------
  2. #include <vcl\vcl.h>
  3. #pragma hdrstop
  4. //---------------------------------------------------------------------------
  5. USEFORM("Monster2.cpp", Form1);
  6. USERES("FStein2.res");
  7. //---------------------------------------------------------------------------
  8. WINAPI WinMain(HINSTANCE, HINSTANCE, LPSTR, int)
  9. {
  10.     try
  11.     {
  12.         Application->Initialize();
  13.         Application->CreateForm(__classid(TForm1), &Form1);
  14.         Application->Run();
  15.     }
  16.     catch (Exception &exception)
  17.     {
  18.         Application->ShowException(&exception);
  19.     }
  20.     return 0;
  21. }
  22. //---------------------------------------------------------------------------
  23.